<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/view/common/import.jspf" %>
<!DOCTYPE html>
<html lang="zh-cn" class="no-js">
	<head>
		<title>EC-登录</title>
		<link href="${ctx }/static/login.css" rel="stylesheet"/>
        <link rel="stylesheet" href="${ctx }/assets/css/reset.css">
        <link rel="stylesheet" href="${ctx }/assets/css/supersized.css">		
	</head>
	<body>
		<div class="easyui-dialog login" data-options="
		title:'系统登录',
		iconCls:'icon-man',
		buttons:'#dlg-buttons',
		modal:true,
		closable:false,
		draggable:true">
			<form id="loginForm" method="post">
				<div class="code-div">
					<label for="code">帐 &nbsp;号：</label>
					<input type="text" value="admin" name="code" autofocus="autofocus" class="easyui-textbox" data-options="
					required: true"/>
				</div> 
				<div>
					<label for="password">密 &nbsp;码：</label>
					<input type="password" value="123456" name="password" class="easyui-textbox" data-options="
					required: true,
					validType: length[6,12]"/>
				</div>
			<div>
				 <label for="validateCode">验 证码：</label>
		         <input type="text" name="validateCode" class="easyui-textbox" maxlength="4" style="width:65px;" autocomplete="off">
		         <img src="<%=request.getContextPath()%>/kaptcha.jpg" alt="验证码" name="checkImg" id="checkImg" style="width:90px;margin-top:15px" onClick="document.getElementById('checkImg').src='kaptcha.jpg?temp='+ (new Date().getTime().toString(36)); return false"/>
	         </div>
			</form>
		</div>
		<div id="dlg-buttons">
			<a onclick="login.doLogin()" class="easyui-linkbutton" data-options="iconCls:'icon-ok'">
				登&nbsp;录
			</a>
		</div>
		<script src="${ctx }/static/login.js"></script>	
        <script src="${ctx }/assets/js/supersized.3.2.7.min.js"></script>
        <script src="${ctx }/assets/js/supersized-init.js"></script>       
	</body>
</html>
